<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/common/taglib.jsp"%>
<link rel="stylesheet" type="text/css" href="/resources/css/style.css">
<link href="/resources/js/common/jupload/css/jquery.fileupload-ui.css" rel="stylesheet"/>
<noscript><link href="/resources/js/common/jupload/css/jquery.fileupload-ui-noscript.css" rel="stylesheet"/></noscript>
<script type="text/javascript" src="/resources/js/pc/employee/import.js"></script>
<style>
	.tableForm{background:#f5f5f5;border:1px #ccc solid;padding:10px;font-size: 12px}
	.tableForm th{text-align:right;font-style: normal;font-size: 12px}
	.tableForm table{width:98%;table-layout:fixed;font-size: 12px}
	.tableForm th,.tableForm td{padding:1px 2px;*padding:0 2px;font-size: 12px}
	.bt_text{font-size:14px; font-weight:bold; text-align:center; line-height:35px; height:40px;}
	.wb_text{font-size:12px; width:500px; height:40px; line-height:25px; text-align:center; color:#2b2b2b;}
	.wb_text2{font-size:12px; line-height:25px; color:#2b2b2b;}
	.wb_text2 p{text-indent:20px;}
	.button85{background:url(images/ban_01.png) no-repeat; width:85px; height:28px; color:#06C; border:none;}
</style>

<div class="easyui-layout" fit="true">
	<div region="center" border="false" style="overflow-x:hidden">
		<div class="pd10">
            <div class="tableForm" style="background:#f5f5f5;border:1px #ccc solid;padding:10px;font-size: 12px">
		    	<form id="importForm" method="post" action="/pc/employee/importAction.htm" enctype="multipart/form-data">
		    		<table cellpadding="0" cellspacing="0">
		    			<tr>
		    				<th style="text-align: center; font-size: 14px;" colspan="2"><strong>您好，欢迎使用</strong></th>
		    			</tr>
		    			<tr style="height: 15px;"></tr>
		    			<tr>
		    				<td align="center" colspan="2">
		    					<input name="importExcel" id="filePath" type="file" />
		    				</td>
		    			</tr>
		    			<tr style="height: 10px;"></tr>
		    			<tr>
		    				<td colspan="2">
		    					<strong style="font-size: 14px;">温馨提示：<br/></strong>
		    					<span style="line-height: 22px; font-size: 12px;">
									&#12288;1.请选择excel文件进行导入，并使用指定的模版，否则可能会出错；<br/> 
									&#12288;2.导入过程中将判断公司、部门、岗位等是否已经存在，若不存在，则将新增；<br/>
									&#12288;3.为避免出错，请确保excel表格中手机号码的唯一性。
								</span>
							</td>
		    			</tr>
		    			<tr style="height: 10px;"></tr>
		    			<tr>
		    				<td>
		    					<strong style="line-height: 22px; font-size: 14px;">模板下载：<br/></strong>&#12288;
								<a href="/pc/employee/downLoadTemplate.htm?fileName=/resources/excel/template.xls" style="text-decoration: none;">
									<font color="blue" style="line-height: 25px; font-size: 12px;">用户导入模版.xls</font>
								</a>
							</td>
							<td id="dataTd" style="display: none; color: red"></td>
		    			</tr>
		    		</table>
		    	</form>
	    	</div>
    	</div>
    </div>
    <!--start：button区域-->
    <div region="south" style="height:36px;overflow:hidden;" border="false">
        <div class="WinBtnBody pdt5">
            <table align="center"border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td>
                        <a href="javascript:void(0)" onclick="Import.importExcel()" class="easyui-linkbutton" plain="true" iconCls="add">确定</a>
                        <a href="javascript:void(0)" onclick="Ict.closeWin();" class="easyui-linkbutton" plain="true" iconCls="remove">取消</a>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <!--end：button区域-->
</div>